﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace TeaTask
{
    class Tea
    {
        public string teaManufacturer;
        public string teaSort;
        public int teaPackingWeight;
        public double teaPricePer100g;

        public void FillTeaInfo()
        {
            Console.Write("Enter tea manufacturer: ");
            teaManufacturer = Console.ReadLine();
            Console.Write("Enter sort of tea: ");
            teaSort = Console.ReadLine();
            Console.Write("Enter packing weight of tea: ");
            teaPackingWeight = Int32.Parse(Console.ReadLine());
            Console.Write("Enter tea price per 100g: ");
            teaPricePer100g = Int32.Parse(Console.ReadLine());
        }

        public void PrintTeaInfo()
        {
            Console.WriteLine("Tea manufacturer: {0}, Sort of tea: {1}, Packing weight: {2}, Price for 100g: {3}", teaManufacturer, teaSort, teaPackingWeight, teaPricePer100g);
        }
    }
}
